package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-28 16:35
 **/
public enum JobMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    JOB_ID("job_id"),
    JOB_NAME("job_name"),
    JOB_GROUP("job_group"),
    INVOKE_TARGET("invoke_target"),
    CRON_EXPRESSION("cron_expression"),
    MISFIRE_POLICY("misfire_policy"),
    CONCURRENT("concurrent"),
    STATUS("status"),
    CREATE_BY("create_by"),
    GMT_CREATE("gmt_create"),
    MODIFIED_BY("modified_by"),
    GMT_MODIFIED("gmt_modified"),
    REMARK("remark"),
    MODIFIED_BY_NAME("modified_by_name"),
    CREATE_BY_NAME("create_by_name");

    private final String colName;

    JobMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}
